'use strict';

const express = require('express')
const ejs = require('ejs')

const app = express()

app.set('view engine', 'ejs')
app.set('views', './views')
app.use(express.static('./public'))


// router
require('./routes')(app);


app.listen(8800, function(error) {
  if (error) {
    console.log(error);
  }

  console.log('running 8800')
})
